From: Richard M. Stallman Date: Wed, 14 Sep 1994 09:00:44 +0000 (+0000) Subject: (server-start): Always use pipes for communication. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90330 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=838cd60df95de0207196b78e483ce5288ad784e7;p=emacs.git (server-start): Always use pipes for communication. --- diff --git a/lisp/server.el b/lisp/server.el index 5b0f88a09f7..0e525a60fd4 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -158,7 +158,10 @@ Prefix arg means just kill any existing server communications subprocess." nil (if server-process (server-log (message "Restarting server"))) - (setq server-process (start-process "server" nil server-program)) + ;; Using a pty is wasteful, and the separate session causes + ;; annoyance sometimes (some systems kill idle sessions). + (let ((process-connection-type nil)) + (setq server-process (start-process "server" nil server-program))) (set-process-sentinel server-process 'server-sentinel) (set-process-filter server-process 'server-process-filter) (process-kill-without-query server-process)))